﻿using System;
using System.Collections.Generic;

namespace WebAdmin.Models
{
    [Serializable]
    public class jstreeNode
    {
        public jstreeNode()
        {
            this.state = new stateEd();
            this.children = new List<jstreeNode>();
        }

        public string id { get; set; }
        public string text { get; set; }
        public string icon { get; set; }
        public stateEd state { get; set; }
        public List<jstreeNode> children { get; set; }

        public class stateEd
        {
            public bool opened { get; set; }
            public bool disabled { get; set; }
            public bool selected { get; set; }
        }
    }
}
